Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix illegal memory access of compute_grad_kernel #64

Merged
merged 1 commit into from
Apr 23, 2020

Conversation

jaesong
Copy link
Contributor

@jaesong jaesong commented Apr 22, 2020

If mb == minibatch_size - 1 && u == U-1,
labels[u] is out-of-bounds memory access.

If `mb == minibatch_size - 1 && u == U-1`,
`labels[u]` is out-of-bounds memory access.
@HawkAaron HawkAaron merged commit c1a265f into HawkAaron:master Apr 23, 2020
@HawkAaron
Copy link
Owner

Thanks a lot!

@jaesong jaesong deleted the grad-mem-fix branch April 23, 2020 04:07
This was referenced Apr 27, 2020
cynecx pushed a commit to cynecx/warp-transducer that referenced this pull request Oct 23, 2020
Fix illegal memory access of compute_grad_kernel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants